/*全局css*/
html,body,footer,header,div,p,span,a,li,ul,ol,b{
    margin: 0;
    padding: 0;
}

a{
    color: #334750;
    text-decoration: none;
}
a:-webkit-any-link{
    cursor: pointer;
}
ul{
    list-style: none;
}
h2 {
    display: block;
    font-size: 1.5em;
    -webkit-margin-before: 0.83em;
    -webkit-margin-after: 0.83em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: bold;
}
.fa{
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

html{
    height: 100%;
}

body{
    height: 100%;
    font-size: 14px;
    line-height: 20px;
    color: #555;
}



/*左侧导航条*/
/*.navbar{
    background-color: rgba(42,42,42,0.76);
}*/
.navbar-jianshu{
    position: fixed;
    top:0;
    left:0;
    width: 45px;
    height: 100%;
    z-index: 1049;
    background-color:#2a2a2a;
}
.navbar-jianshu a.logo{
    color: #fff;
    font-size: 18px;
}
.navbar-jianshu a{
    display: block;
    padding: 10px;
    line-height: 25px;
    text-align: center;
    color: #999999;
    text-shadow: 0 1px 0 black;
}
.navbar-jianshu a:hover{
    text-decoration: none;
    background-color: 
}
.navbar-jianshu .dropdown a:hover,.navbar-jianshu .dropdown a:active,.navbar-jianshu .dropdown a:active{
    background-color: #334750;
    color: white;
    text-shadow:  0 1px 0 #334750;
}
.navbar-jianshu a.logo{
    background-color:rgba(51,71,80,0.76) ;
}
.shrink a.logo{
    background-color:#334750 ;
}
.navbar-jianshu a.logo b{
    font-weight: normal;
}
.navbar-jianshu a:hover{
    background-color:rgba(51,71,80,0.76) ;
}
.navbar-jianshu a i{
    /*display: inline-block;*/
    width: 16px;
    text-align: center;
}
.fa .fa-home{
    content: "\f015";
}
.navbar-jianshu a span{
    display: none;
}

/*左侧导航条,缩放模式*/
.shrink {
    display: none;
    -webkit-transition: all 0.49s cubic-bezier(0.56,-0.29,0.57,1) !important;
    -moz-transition: all 0.49s cubic-bezier(0.56,-0.29,0.57,1) !important;
    -ms-transition: all 0.49s cubic-bezier(0.56,-0.29,0.57,1) !important;
    -o-transition: all 0.49s cubic-bezier(0.56,-0.29,0.57,1) !important;
    transition: all 0.49s cubic-bezier(0.56,-0.29,0.57,1) !important;
}
/*ul*/
.shrink .dropdown-menu {
    position: fixed;
    top: 43px;
    left: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    z-index: 1000;
    background-color: #334750;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    background-color: white;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,0.2);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}
.shrink .dropdown-menu li a {
    padding: 13px 13px 13px 15px;
    color: white;
    text-align: left;
    text-decoration: none;
}
.shrink .dropdown-menu li a:hover{
    text-decoration: none;
}
.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 20px;
    color: #3f3f3f;
    white-space: nowrap;
}
.navbar-jianshu a {
    display: block;
    padding: 10px;
    font-size: 16px;
    line-height: 25px;
    text-align: center;
    color: #999999;
    text-shadow: 0 1px 0 black;
}
.shrink .dropdown-menu i {
    margin-right: 17px;
}
.navbar-jianshu i {
    width: 16px;
    text-align: center;
}


/*右侧导航*/
.navbar-user{
    position: fixed;
    right: 0;
    top:10px;
    margin-bottom: 0;
    z-index: 1010;
    margin-top:7px;
}
.navbar-user a{
}
.navbar-user .login{
    position: relative;
    float: right;
    padding:0 2px;
    margin-right: 2px;
    color: #334750;
    text-decoration: none;
}
.navbar-user .set-view-mode{
    position: relative;
    margin-right: 15px;
    top: 7px;
}
.pull-right{
    float: right;
}

.content{
    width: 100%;
    display: inline-block;
    float: right;
}
.content:before,.content:after{
    display: table;
    content: '';
    line-height: 0;
}
.content:after{
    clear: both;
}
.content .main{
    padding-left:45px;
}
.sidebar,.main{
    display: block;
    min-height: 30px;
    box-sizing: border-box;
    float: left;
    /*width: 100%;*/
    /*margin-left: 0;*/
    /*-moz-box-sizing: border-box;*/
    /*-webkit-box-sizing: border-box;*/
}

/*左侧profile*/
.sidebar{
    width: 25.0%;
    position: fixed;
    top:0;
    right: 0;
    bottom: 0;
    left: 45px;
    /*opacity: 0.75;*/
}
.sidebar .cover-img{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    left: 0;
    top:0;
}

.sidebar .bottom-block{
    position: absolute;
    bottom: 0;
    text-align: center !important;
    color: white;
    padding: 30px;
}
.sidebar .avatar-img{
    width: 100px;
    height: 100px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    padding: 5px;
    border: solid 1px #ccc;
    border-radius: 50px;
    transition: transform 1.6s ease-out;
}
img {
    max-width: 100%;
    vertical-align: middle;

}
.sidebar h1{
    display: block;
    font-size: 2em;
    font-weight: bold;
    -webkit-margin-before: 0.67em;
    -webkit-margin-after: 0.67em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}
.sidebar p{
    display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}

/*内容整体*/
.main{
    margin-left: 25%;
    width: 58.33333%;
}

ul,menu,dir{
    display: block;
    list-style-type: disc;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 40px;
}
li{
    display: list-item;
    text-align: -webkit-match-parent;
}

/*内容标题栏*/
.page-title .navigation{
    margin: 0;
    padding: 0;
    border-bottom: none;
    list-style: none;
    text-align: center;
}
.page-title{
    padding: 0 0px 0 20px;
    font-size: 12px;
    clear: both;
    border-bottom: 2px solid #d9d9d9;
    font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans","wenquanyi micro hei","Hiragino Sans GB", "Hiragino Sans GB W3", Arial, sans-serif;
}
.page-title>ul a {
    padding: 15px;
    display: inline-block;
    color: #999999;
    text-decoration: none;
}
.page-title>ul a:hover{
    background-color: rgba(0,0,0,0.1);
}
.page-title>ul .active {
    margin-bottom: -2px;
    border-bottom: 2px solid #555555;
}
.page-title li {
    float: left;
}
.page-title>ul .active a {
    color: #555555;
}
.clearfix{
    zoom:1;
}
.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
     clear: both;
 }
.page-title ul{
    height: 50px;
    color: #2a2a2a;
}
.page-title li{
    float: left;
    line-height: 25px;
    /*margin-top: 12.5px;*/
}
.page-title>ul .active{
    margin-bottom: -2px;
    border-bottom: 2px solid #555555;
}
.page-title a{
    color: #2a2a2a;

}
.page-title .search-form{
    margin: 0;
}
.search-form{
    /*position: relative;*/
    width: 100%;
}
form{
    display: block;
    margin-top: 0em;
}

.page-title li:last-child{
    display: inline-block;
    float: right;
    margin:7.5px;
    /*padding-right: 0;*/
}
.page-title .col-lg-3{
    /*float: right;*/
    /*margin-right: 0;*/
    padding: 0;
}
.page-title .col-lg-3 .input-group{
    width: 200px;
    /*margin-right: 0;*/
}


/*主题部分*/
.main .main-container{
    margin:35px 0 0;
    padding-left: 36px; 
}
.main-container:before,.main-container:after{
    display: table;
    content: "";
    line-height: 0;
}
.main-container .post{
    position: relative;
    width: 100%;
    padding-right: 2px;
    padding-bottom: 17px;
    margin:  0 0 17px;
    border-bottom: 1px dashed #D9D9D9;
    box-sizing: border-box;
    word-wrap: break-word;
}
/*缩略文章标题 <h2>*/
.post .post-title{
   margin-top: 5px; 
   marker-bottom:10px;
   margin-left: 0;
   display: inherit;
   font-size: 18px;
   font-weight: bold;
   line-height: 1.5;
}
.post .post-title a{
    color:#334750;
    text-decoration: none;

}
/*文章归属信息 <ul>*/
.post .post-meta{
    font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans","wenquanyi micro hei","Hiragino Sans GB", "Hiragino Sans GB W3", Arial, sans-serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 20px;
    list-style: none;
    overflow: hidden;
    padding: 0;
    margin-bottom: 0;
}
.post-meta li{
    float: left;
    margin-right: 5px;
}
.post-meta i{
    font-size: 14px;
}
.post-meta li a{
    /*color: #334750;*/
}
.post .post-meta li a{
    color:#334750;
    text-decoration: none;
}
.post-content{
    overflow: hidden;
    display: block;
    line-height: 25px;
    min-height: 25px;
    /*height: 75px;*/
    max-height: 75px;
}
/*网页底部*/
footer{
    margin: 0 0 1px 25%;
    overflow: hidden;
    padding-left: 45px;
    text-indent: 40px;
    color: #999999;
    font-size: 12px;
    font-weight: normal;
    line-height: 20px;
    box-sizing: border-box;
}
footer .footer-inner{
    /*这个border会加到网页最顶部*/
    padding-top: 15px;
    border-top: 1px solid #d9d9d9;
}
footer p{

}
footer .footer-inner a{
    color: black;
    text-decoration: none;
}
@media (max-width: 768px) {
    .shrink a {
        background-color: #334750;
        text-shadow: rgb(51, 71, 80) 0px 1px 0px;
    }
    .navbar-user{
        top:0;
        left: 0;
        height: 45px;
        background: white;
        margin-top: 0px;
        /*box-shadow: 0 1px 4px #eeeeee;*/
        box-shadow: rgb(238, 238, 238) 0px 1px 4px;
    }
    .navbar-user .login,.wrap-btn .login{
        top:13px;
    }
    .navbar-user .set-view-mode {
        top: 13px;
        display: inline-block;
     }
    .navbar-jianshu{
        display: none;
     }
     .content{
        margin-left: 0;
        padding-left: 0;
     }
    .sidebar{
        display: none!important;
    }
    .content .main {
        padding-left: 0;
        margin-left: 0;
    }
    .main{
        width: 100%;
        /*padding-top: 70px;*/
         padding: 70px 10px 0; 
        margin-left: 0 !important;
    }
    .main .page-title,{
        padding: 0;
    }
    .main .main-container{
        padding-left: 10px;
    }
    .page-title{
        margin-left: 0px;
        padding: 0;
    }
    footer {
        margin: 0 0px !important;
        margin-left: 0;
        text-indent: 10px;
        padding-left: 10px;
        /*padding-right: 10px;*/
    }
    .footer-inner{
        padding-left: 0 !important;
        margin-left: 0!important;
    }
}

@media (max-width: 768px) {
    .shrink {
        top: 0px;
        left: 0px;
        height: auto;
        display: block;
        background: none;
    }
}
@media (max-width: 480px) {
    .search,.search-query{
        /*display: none;*/
    }
    .page-title .col-lg-3 .input-group{
        width: 140px;
    }
}
/*.footer-inner p{
    margin: 0 0 0 0px;
}*/
p{
     display: block;
     -webkit-margin-before: 1em;
     -webkit-margin-after: 1em;
     -webkit-margin-start: 0px;
     -webkit-margin-end: 0px;
 }


/*返回顶部按钮*/
.fixed-btn{
    position: fixed;
    right: 40px;
    bottom: 40px;
    width: 42px;
    background-color: #FFF;
    z-index: 1040;
}
.fixed-btn a:last-chid{
    border-bottom:1px solid #e9e9e9;
}
.fixed-btn a{
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #e9e9e9;
    color: #334750;
}

.preview .post-title {
    font-size: 22px;
}
.post-title {
    /*margin-top: 5px;*/
    margin-bottom: 10px;
    margin-left: 0;
    display: inherit;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
}
.preview .post-content, .preview .post-content p {
    line-height: 2em;
}
.post-content {
    overflow: hidden;
}
ul.tag-list {
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.tag-list li {
    float: left;
    margin: 0 10px 10px 0;
    list-style: none;
}
.tag-list li a {
    display: inline-block;
    padding: 3px 10px;
    color: #666;
    background-color: #eee;
}


/*分类模块*/
.categories .widget {
    margin: 0 10px 20px;
}
.widget {
    border: 1px solid #D4D4D4;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px #DDD;
    -moz-box-shadow: 0 1px 2px #ddd;
    box-shadow: 0 1px 2px #DDD;
    margin-bottom: 15px;
}
.widget .widget-desc, .widget .widget-title {
    padding: 5px 10px;
    border-bottom: 1px solid #ddd;
}
.widget .widget-title {
    margin: 0;
    line-height: 36px;
    font-size: 16px;
    font-weight: bold;
    padding-left: 15px;
}
.widget .widget-title span {
    float: right;
    font-size: 12px;
    margin-right: 10px;
}
/*ul*/
.widget-list {
    padding: 5px 10px;
    margin: 0;
}
.widget-list li {
    margin: 5px 0;
    line-height: 1.5;
    list-style: none;
}


/*文章分页*/
.naviPage{
    width: 100%;
    text-align: center;
}